package bill.view;


import bill.model.vo.Inventory;
import java.util.Comparator;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Administrator
 */
public class InventoryComparator implements Comparator<Inventory> {

    public int compare(Inventory o1, Inventory o2) {
       return o1.getId().compareTo(o2.getId());
    }

}
